package com.youlin.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.lang.Nullable;
import java.time.LocalDate;
import java.time.LocalTime;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class AddAMReqDto {

    /**
     * 预约ID
     */
    @Nullable
    @ApiModelProperty(value="预约记录ID, 新建时不填，修改时必填", position = 1)
    private Integer amId;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value="逝者姓名", required = true, position = 2)
    private String deadName;

    // 逝者性别：0-男、1-女
    @ApiModelProperty(value="逝者性别：0-男、1-女", required = true, position = 3)
    private Integer deadGender;

    // 逝者生日
    @ApiModelProperty(value="逝者生日", required = true, dataType = "java.lang.String", example = "2020-02-02", position = 4)
    private LocalDate deadBirthday;

    // 逝者忌日
    @ApiModelProperty(value="逝者忌日", required = true, dataType = "java.lang.String", example = "2020-02-02", position = 5)
    private LocalDate deadDeadday;

    /**
     * 告别厅ID
     */
    @ApiModelProperty(value="告别厅ID", required = true, position = 6)
    private Integer fhId;

    /**
     * 告别厅预约使用日期
     */
    @ApiModelProperty(value="告别厅预约使用日期", required = true, dataType = "java.lang.String", example = "2020-02-02", position = 7)
    private LocalDate useDate;

    /**
     * 告别厅预约使用开始时间
     */
    @ApiModelProperty(value="告别厅预约使用开始时间", required = true, dataType = "java.lang.String", example = "08:08:08", position = 8)
    private LocalTime startTime;

    /**
     * 告别厅预约使用结束时间
     */
    @ApiModelProperty(value="告别厅预约使用结束时间", required = true, dataType = "java.lang.String", example = "08:08:08", position = 9)
    private LocalTime endTime;

    // 承办人姓名
    @ApiModelProperty(value="承办人姓名", required = true, position = 10)
    private String takerName;

    // 承办人手机号
    @ApiModelProperty(value="承办人手机号", required = true, position = 11)
    private String takerTel;

    // 承办人性别：0-男、1-女
    @ApiModelProperty(value="承办人性别：0-男、1-女", required = true, position = 12)
    private Integer takerGender;

    // 关系ID
    @ApiModelProperty(value="关系ID", required = true, position = 13)
    private Integer relationId;

}
